package cn.seecoder.courselearning.mapperservice.question;

import cn.seecoder.courselearning.po.question.Question;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestionMapper {

    /*
       int deleteByPrimaryKey(Integer id);

    int insert(CourseOrder record);

    CourseOrder selectByPrimaryKey(Integer id);

    List<CourseOrder> selectAll();

    int updateByPrimaryKey(CourseOrder record);

    List<CourseOrder> selectByUserId(Integer userId);

    CourseOrder queryMostRecentOrder(Integer userId, Integer courseId);
     */

    int deleteByPrimaryKey(Integer id);

    List<Question> selectAll();

    List<Question> selectByCourse_id(Integer course_id);

    Question selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Question record);

    int insert(Question question);

}
